package com.xuecheng.content.service;

import com.xuecheng.base.model.PageParams;
import com.xuecheng.base.model.PageResult;
import com.xuecheng.content.model.dto.*;
import com.xuecheng.content.model.po.CourseBase;
import org.springframework.stereotype.Service;


public interface CourseBaseInfoService {

    public PageResult<CourseBase> list(PageParams pageParams, QueryCourseParamsDto queryCourseParams);

    CourseBaseInfoDto createCourseBase(Long companyId, AddCourseDto addCourseDto);


    public CourseBaseInfoDto getCourseBaseInfo(long courseId);

    public CourseBaseInfoDto updateCourseBase(Long companyId, EditCourseDto dto);

    public void delectCourse(Long companyId, Long courseId);


}
